package operation.madiator.abs;

public abstract class Mediator {
    // 注册中介者
    public abstract void register(String name, Colleague colleague);

    // 中介者的核心方法，接收同事对象发出的消息
    public abstract void getMessage(int stateChange, String name);
}
